package cn.succy.spider.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Girl implements Serializable {

	private static final long serialVersionUID = -5947264595294308395L;
	private String avatarUrl;
	private String cardUrl;
	private String city;
	private String height;
	private String realName;
	private Long userId;
	private String viewFlag;
	private String weight;
	private String linkUrl;

	private List<String> pics;

	public Girl() {
		pics = new ArrayList<>();
	}

	public String getAvatarUrl() {
		return avatarUrl;
	}

	public void setAvatarUrl(String avatarUrl) {
		this.avatarUrl = avatarUrl;
		this.pics.add(this.getAvatarUrl());
	}

	public String getCardUrl() {
		return cardUrl;
	}

	public void setCardUrl(String cardUrl) {
		this.cardUrl = cardUrl;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getHeight() {
		return height;
	}

	public void setHeight(String height) {
		this.height = height;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
		this.linkUrl = "https://mm.taobao.com/self/aiShow.htm?userId="+this.getUserId();
	}

	public String getViewFlag() {
		return viewFlag;
	}

	public void setViewFlag(String viewFlag) {
		this.viewFlag = viewFlag;
	}

	public String getWeight() {
		return weight;
	}

	public void setWeight(String weight) {
		this.weight = weight;
	}

	public List<String> getPics() {
		return pics;
	}

	public void setPics(List<String> pics) {
		this.pics = pics;
	}

	public String getLinkUrl() {
		return linkUrl;
	}

	public void setLinkUrl(String linkUrl) {
		this.linkUrl = linkUrl;
	}

	@Override
	public String toString() {
		return "Girl [avatarUrl=" + avatarUrl + ", cardUrl=" + cardUrl + ", city=" + city
				+ ", height=" + height + ", realName=" + realName + ", userId=" + userId
				+ ", viewFlag=" + viewFlag + ", weight=" + weight + ", linkUrl=" + linkUrl
				+ ", pics=" + pics + "]";
	}
}
